//
//  orderListData.m
//  YaoHeAPP
//
//  Created by xyh on 15/12/11.
//  Copyright © 2015年 mac. All rights reserved.
//

#import "orderListData.h"

@implementation orderListData

-(id)initWith:(NSDictionary*)dic
{
    self = [super init];
    if (self)
    {
        self.imageurl=dic[@"IMG_PATH"];
        self.material=dic[@"MATERIAL_NAME"];
        
        self.order_code=dic[@"ORDER_CODE"];
        self.order_id=dic[@"ORDER_ID"];
        self.spec_code=dic[@"SPEC_CODE"];
        self.status=dic[@"STATUS"];
        self.supply_city_id=dic[@"SUPPLY_CITY_ID"];
        self.supply_province_id=dic[@"SUPPLY_PROVINCE_ID"];
        self.surface_name=dic[@"SURFACE_NAME"];
        self.variety_name=dic[@"VARIETY_NAME"];
        
        self.item_infos=dic[@"ITEM_INFOS"];
        self.report_status=dic[@"REPORT_STATUS"];
        self.isneedtesting=dic[@"IS_NEED_TESTING"];
        self.weight=dic[@"WEIGHT"];
    }
    return self;
}
@end
